package at.spengergasse.abifs.SDJPATest.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import at.spengergasse.abifs.SDJPATest.model.Athlet;
import at.spengergasse.abifs.SDJPATest.model.TrainingGroup;

public interface AthletRepository extends JpaRepository<Athlet, Long>
{
	Athlet findByID(Long a_id);
	
	List<Athlet> findByTrainingGroup(TrainingGroup trainingGroup);

}
